package com.example.administrator.testdagger.design.proxy;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

/**
 * com.example.administrator.testdagger.design.proxy
 * (c)2018 AIR Times Inc. All rights reserved.
 *
 *
 * @author WangJQ
 * @version 1.0
 * @date 2018/8/3 14:05
 * @see com.example.administrator.testdagger.design.proxy
 */
public class TestProxyActivity extends AppCompatActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        Calculate calculate = new CalculateImpl();
        Calculate proxy = (Calculate) new LogProxy(calculate).bind();
        proxy.add(1,2);
    }
}
